﻿using XNAFight.Scene.Core;
using Microsoft.Xna.Framework;

namespace XNAFight.Scene.OutGame
{
    class OptionMenu : MenuScreen
    {
        public OptionMenu(string _title)
            : base(_title)
        {
            items = new TextMenuItem[1, 1];
            
            MenuItem retour_MI = new TextMenuItem(new Vector2(20, 70), "Retour", 0.8f);

            items[0, 0] = retour_MI;

            retour_MI.Selected += this.Cancel;
            this.Cancelling += this.Cancel;

            this.Added += this.Activate;
            this.Removed += this.Disable;
        }

        public override void Draw(GameTime _game_time)
        {
            GraphicsDevice.Clear(Color.White);

            base.Draw(_game_time);
        }
    }
}
